using System;
using Gtk;

public partial class MainWindow: Gtk.Window
{	
	public MainWindow (): base (Gtk.WindowType.Toplevel)
	{
		Build ();
	}
	
	protected void OnDeleteEvent (object sender, DeleteEventArgs a)
	{
		Application.Quit ();
		a.RetVal = true;
	}

	protected void Handle_OpenFile (object sender, System.EventArgs e)
	{
		FileChooserDialog dlg = new FileChooserDialog("Canon RAW File", this, FileChooserAction.Open,
			"Cancel", ResponseType.Cancel, "OK", ResponseType.Ok);
		
		if ( dlg.Run() == (int)ResponseType.Ok )
		{
			
		}
	}
}
